package com.amigo.online.provider.video.model.entity;

import javax.persistence.Table;
import javax.persistence.Transient;

import com.amigo.online.common.base.entity.BaseEntity;


@Table(name = "video_promote_tbl")
public class PromoteVideo extends BaseEntity {

    private static final long serialVersionUID = 3134464696529730503L;

    private Long video_id;
    private Long user_id;
    private Double promote_weight;
    private String sex;
    private String age_range;
    private String area_ids;
    @Transient
    private String area_name;
    private Integer expected_play_amount;
    private Integer play_amount;    //实际播放量
    private Integer money;//投放金额
    private Integer actual_money;//实际付款金额
    private Integer balance;//视频剩余金额
    private Integer status;    //1-投放中   2-已结束    3-支付失败
    private Integer type;//1-系统智能投放    2-自定义定向投放
    private Long order_id;//订单Id
    @Transient
    private String order_num;//订单号
    private Long end_time;//结束时间

    public Long getVideo_id() {
        return video_id;
    }

    public void setVideo_id(Long video_id) {
        this.video_id = video_id;
    }

    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    public Double getPromote_weight() {
        return promote_weight;
    }

    public void setPromote_weight(Double promote_weight) {
        this.promote_weight = promote_weight;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getExpected_play_amount() {
        return expected_play_amount;
    }

    public void setExpected_play_amount(Integer expected_play_amount) {
        this.expected_play_amount = expected_play_amount;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getActual_money() {
        return actual_money;
    }

    public void setActual_money(Integer actual_money) {
        this.actual_money = actual_money;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Long order_id) {
        this.order_id = order_id;
    }

    public String getAge_range() {
        return age_range;
    }

    public void setAge_range(String age_range) {
        this.age_range = age_range;
    }

    public String getArea_ids() {
        return area_ids;
    }

    public void setArea_ids(String area_ids) {
        this.area_ids = area_ids;
    }

    public String getArea_name() {
        return area_name;
    }

    public void setArea_name(String area_name) {
        this.area_name = area_name;
    }

    public String getOrder_num() {
        return order_num;
    }

    public void setOrder_num(String order_num) {
        this.order_num = order_num;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public Integer getPlay_amount() {
        return play_amount;
    }

    public void setPlay_amount(Integer play_amount) {
        this.play_amount = play_amount;
    }

    public Long getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Long end_time) {
        this.end_time = end_time;
    }


}
